'Usage
Dim instance As Collection(Of T) Dim item As T Dim value As Integer value = instance.IndexOf(item)
Parameters
- item
- The object to locate in the IList.
Return Value
The index of item if found in the list; otherwise, -1.
'Usage
Dim instance As Collection(Of T) Dim item As T Dim value As Integer value = instance.IndexOf(item)